getApp();

Component({
    options: {
        addGlobalClass: !0
    },
    properties: {
        show: Boolean,
        titleText: String,
        titleIcon: String,
        confirmText: {
            type: String,
            value: "确定"
        },
        confirmTextColor: String,
        confirmBg: String,
        autoCloseAfterConfirm: {
            type: Boolean,
            value: !0
        },
        contentHeight: String
    },
    data: {},
    methods: {
        confirmOnTap: function() {
            this.triggerEvent("onConfirm", {}), this.data.autoCloseAfterConfirm && this.closeOnTap();
        }
    }
});